Next.js Interview Questions and Answers
Question: What is the purpose of the 'pages' directory in a Next.js project?Answer: The 'pages' directory in a Next.js project contains React components that represent the pages of the application. Each file in this directory becomes a route in the application. |
Is it helpful?
Yes
No
Most helpful rated by users: